export const errimg = {
  inserted: function (dom, options) {
    dom.src = dom.src || options.value
    dom.onerror = function () {
      dom.src = options.value
    }
  },
  componentUpdated (dom, options) {
    dom.src = dom.src || options.value
  }
}

export const directive1 = {
  inserted: function (dom) {
    console.log('我是directive1自定义指令')
  }
}

export const directive2 = {
  inserted: function (dom) {
    console.log('我是directive2自定义指令')
  }
}
